package org.lex.io.utils;

import java.io.File;
import java.io.FileFilter;

public class JarFileFilter implements FileFilter {
	public boolean accept(File file) {
		boolean accept = false;
		if (file.isFile() && file.exists()) {
			String name = file.getName().toLowerCase();
			if (name.endsWith(".jar")) {
				accept = true;
			}
		}
		return accept;
	}
}
